package com.kezesong.leasing.service;

import com.kezesong.leasing.controller.response.GoodsDetailsRspBody;
import com.kezesong.leasing.controller.response.GoodsListRspBody;
import com.kezesong.leasing.entity.GoodsInfoEntity;

import java.util.List;

public interface GoodsInfoService {

    List<GoodsInfoEntity> getGoodsInfoList();

    GoodsDetailsRspBody getGoodsDetails(int goodsId);

    List<GoodsInfoEntity> getGoodsInfoList(int categoryId, int pageSize, int pageIndex);

    int addGoodsInfo(GoodsInfoEntity goodsInfoEntity);

    int modifyGoodsInfo(GoodsInfoEntity goodsInfoEntity);

    int deleteGoodsInfo(int goodId);

    List<GoodsListRspBody> getGoodsInfoShowRspList(int categoryId, int pageSize, int pageIndex );
}
